<%--
  Created by IntelliJ IDEA.
  User: Calvin
  Date: 12/2/12
  Time: 12:10 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="connect.jsp" %>

<%
    String id = request.getParameter("id");
    String learnid = request.getParameter("learn");
    String words = request.getParameter("words");
    stat.executeUpdate("Delete from DetailLearn where DetaillearnID = '" + id + "' ");

    conn.close();

    response.sendRedirect("EditLearn.jsp?respon=Success to delete word " + words + "&id=" + learnid);

%>